package top.lixunda.ecommerce.server.good.api.entity.dto;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.lixunda.ecommerce.server.business.api.condition.ILambdaQueryWrapperDTO;
import top.lixunda.ecommerce.server.good.api.entity.db.EnshrineGoodsDO;

/**
 * 条件查询商品收藏信息
 *
 * @author Xumda
 * @version time:2020/1/7 15:30
 */
@ApiModel("条件查询商品收藏信息")
@Data
@EqualsAndHashCode(callSuper = false)
public class EnshrineGoodQueryDTO implements ILambdaQueryWrapperDTO<EnshrineGoodsDO> {

    /**
     * 将当前用于查询的DTO中的查询数据转换为 LambdaQuerySqlWrapper
     *
     * @return 条件构造器 LambdaQuerySqlWrapper
     */
    @Override
    public LambdaQueryWrapper<EnshrineGoodsDO> toWrapper() {
        return new LambdaQueryWrapper<>();
    }

}
